<?php
/**
 * CreateTime: 2022/6/23 14:45
 */

namespace App\Service\MapService;

use App\Models\Department\DepartmentModel;

class DepartmentMapService
{
    public function deptMap($deptId,$tableStr){
        $staffModel = new DepartmentModel();
        return @$staffModel->getDepartmentInfoByDepartmentIdModel($deptId,[$tableStr])[$tableStr];
    }
}